ComponentOne ASP.NET MVC Controls
IsRequired Method (DropDownBuilder<T,TControl,TBuilder>)

C1.Web.Mvc.Fluent Namespace > DropDownBuilder<T,TControl,TBuilder> Class : IsRequired Method
The value.
Configurates C1.Web.Mvc.DropDown<T>.IsRequired. Sets a value indicating whether the control value must be a non-empty string.
Syntax
'Declaration
 
Public Overridable Function IsRequired( _
   ByVal value As Boolean _
) As TBuilder
public virtual TBuilder IsRequired( 
   bool value
)

Parameters

value
The value.

Return Value

Current builder.
See Also

Reference

DropDownBuilder<T,TControl,TBuilder> Class
DropDownBuilder<T,TControl,TBuilder> Members